Hearing aid with gain precalculation principle 2